package com.naire.modul.contract.service;

import net.common.service.GeneralService;
import com.naire.modul.contract.dao.ContractDao;
import com.naire.modul.contract.dao.impl.ContractDaoImpl;
import com.naire.modul.contract.vo.ContractVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class ContractDeleteService extends GeneralService {

	private ContractVo bean;

	@Override
	public void execute() throws Exception {
		ContractDao dao = new ContractDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(ContractVo bean) {
		this.bean = bean;
	}

}
